// cLogger.h: interface for the cLogger class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CLOGGER_H__3AE487B7_9142_454B_B58A_7096AFF7CB17__INCLUDED_)
#define AFX_CLOGGER_H__3AE487B7_9142_454B_B58A_7096AFF7CB17__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class cLogger 
{
public:
	void Close();
	void Flush();
	void LogOneLine(LPCSTR pLogInfo);
	cLogger(LPCSTR pStrFileName);
	cLogger();
	virtual ~cLogger();

private:
	CStdioFile m_logFile;
	BOOL m_bFileOpen;
};

#endif // !defined(AFX_CLOGGER_H__3AE487B7_9142_454B_B58A_7096AFF7CB17__INCLUDED_)
